﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SF.Model
{
    /// <summary>
    /// bs_good_info:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class bs_good_info
    {
        public bs_good_info()
        { }
        #region Model
        private long _id;
        private string _busniesenum;
        private string _appnum;
        private string _typenum;
        private long? _goodtypeid;
        private string _name;
        private string _description;
        private int? _stock;
        private decimal? _costprice;
        private decimal? _sellprice;
        private decimal? _deleteprice;
        private int? _sort;
        private string _status;
        private string _goodhot;
        private DateTime? _lasttime;
        private long? _lastuserid;
        private string _showimage;
        private int? _zancount;
        private List<Model.bs_good_image> _goodImages;
        private List<Model.bs_good_extend> _goodExtends;
        /// <summary>
        /// 
        /// </summary>
        public long id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string busnieseNum
        {
            set { _busniesenum = value; }
            get { return _busniesenum; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string appNum
        {
            set { _appnum = value; }
            get { return _appnum; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string typeNum
        {
            set { _typenum = value; }
            get { return _typenum; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long? goodTypeId
        {
            set { _goodtypeid = value; }
            get { return _goodtypeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? stock
        {
            set { _stock = value; }
            get { return _stock; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? costPrice
        {
            set { _costprice = value; }
            get { return _costprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? sellPrice
        {
            set { _sellprice = value; }
            get { return _sellprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? deletePrice
        {
            set { _deleteprice = value; }
            get { return _deleteprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? sort
        {
            set { _sort = value; }
            get { return _sort; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string goodHot
        {
            set { _goodhot = value; }
            get { return _goodhot; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? lastTime
        {
            set { _lasttime = value; }
            get { return _lasttime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long? lastUserId
        {
            set { _lastuserid = value; }
            get { return _lastuserid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string showImage
        {
            set { _showimage = value; }
            get { return _showimage; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? zanCount
        {
            set { _zancount = value; }
            get { return _zancount; }
        }
        #endregion Model

        /// <summary>
        /// 图片相册
        /// </summary>
        public List<Model.bs_good_image> goodImages
        {
            set { _goodImages = value; }
            get { return _goodImages; }
        }

        /// <summary>
        /// 商品扩展字段（自定义字段）
        /// </summary>
        public List<Model.bs_good_extend> goodExtends
        {
            set { _goodExtends = value; }
            get { return _goodExtends; }
        }

        private bs_good_returnScale _goodReturnScale;
        /// <summary>
        /// 返佣比例设置
        /// </summary>
        public bs_good_returnScale goodReturnScale
        {
            get { return _goodReturnScale; }
            set { _goodReturnScale = value; }
        }

        private string _templatesnum;

        public string templatesNum
        {
            get { return _templatesnum; }
            set { _templatesnum = value; }
        }
    }
}
